package com.zy.web.demo.duoxiancheng.demo17;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/8/18 16:42
 */
public class Test17 {

    public static void main(String[] args) {
        try {
            Object lock = new Object();
            ThreadA17 A = new ThreadA17(lock);
            A.start();
            Thread.sleep(1000);
            A.interrupt();
        }catch (InterruptedException e){
            e.printStackTrace();
        }
    }
}
